package com.gu.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 06-20-15:38
 */
@FeignClient(value = "service-user-info")
@Service
public interface UCenterClient {

    //根据原生的request 请求来获取 用户信息；
    @GetMapping("/edu/ucenter/getUserInfo/{id}")
    public Map<String,Object> getUserInfo(@PathVariable("id")String member_id);
}
